<?php
require_once("../config.php");
$fromwhere=$_SERVER['HTTP_REFERER'];
if(!isset($_GET['id']) or empty($_GET['id'])) exit("no way");//header("location:$fromwhere");



$uid=new UID();
$condition="id = ".$_GET['id'];
$uid->delete("brand",$condition);
header("location:$fromwhere");

?>